package com.chinasofti.manager.domain.constr3;

public class TestStudent {
    public static void main(String[] args) {
        Student stu = new Student();
        stu.setAge(10);
        stu.setName("tom");
        System.out.println(stu.getAge());
        System.out.println(stu.getName());

        Student stu2 = new Student("jarry",12);
        System.out.println(stu2.getName());
        System.out.println(stu2.getAge());
    }
}
